package bintree.seachtree;

import bintree.rb_tree.RBTree;

/**
 * @author yuisama
 * @date 2022/03/10 12:18
 **/
public class RBTreeTest {
    public static void main(String[] args) {
//        int[] data = {42,33,50,17,37,48,88,12,18,66,6};
        int[] data = {6,12};
        RBTree<Integer> rbTree = new RBTree<>();
        for (int i : data) {
            rbTree.add(i);
        }
        rbTree.add(2);
        System.out.println(rbTree);
    }
}